package com.kehongborui.fliggy.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-09-12
 */
@Component
public class TestTask {
//    @Scheduled(cron = "0/1 * * * * ?")
    public void run() {
        System.out.println("::::::::====================>");
    }

//    @Scheduled(cron = "0/1 * * * * ?")
    public void test() {
        System.out.println("::::::::Hello");
    }
}
